*{
    margin: 0;padding: 0;
}
img{
    vertical-align: middle;
}
input,button{
    border: none;
}
html{
    font-size: 10px;background-color: #f6f6f6;
}
header{
    height: 9rem;
    background-color: black;
    display: flex;
    justify-content: space-between;
}
header div:nth-child(1){
    text-align: center;
    width: 2rem;
}
header div:nth-child(2){
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin: 0 5rem;
}
header div:nth-child(2) .options{
    background-color: white;
    height: 4rem;
    padding: 1rem 1rem 1rem 4rem;
    display: flex;
    border-right: solid 0.1rem #aaa;
    border-top-left-radius: 3rem;
    border-bottom-left-radius: 3rem;
    align-items: center;
}
header div:nth-child(2) .options span:nth-child(1){
    line-height: 4rem;
    font-size: 2.6rem;
}
header div:nth-child(2) .options span:nth-child(2){
    width: 1.5rem;
    height: 3rem;padding: 0 0.7rem;
    background: url(../img/2.png) no-repeat center bottom;
}
header div:nth-child(2) .input-wrapper{
    flex-grow: 1;
}
header div:nth-child(2) .input-wrapper input{
    border-top-right-radius: 3rem;
    border-bottom-right-radius: 3rem;
    height: 6rem;
    width: 100%;
    padding-left: 2.2rem;
    box-sizing: border-box;
    font-size: 2.6rem;
}
header div:nth-child(3) {
    color: #ccc;
    line-height: 9rem;
    font-size: 3.2rem;
    text-align: center;
    width: 9rem;
}

p.search-history{
    padding: 0 2rem;
    height: 9rem;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: solid 1px #ccc;
}
p.search-history span:nth-child(1){
    font-size: 2.8rem;color:#888;
}
span.icon-trash{
    font-size: 2.8rem;color:#888;
}
.search-history-items{
    padding: 2.8rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: white;
}
.search-history-items::after{
    content: "";
    display: block;
    flex-grow: 1;
}
.search-history-items span{
    color: #555;
    background-color: #f2f2f2;
    font-size: 2.4rem;
    padding: 1rem 2.2rem;
    border-radius: 2.8rem;
    margin: 0 1.1rem 2.8rem;
}
.favirate{
    margin-top: 10rem;
    height: 9rem;
    line-height: 9rem;
    text-align: center;
    background-color: white;
    position: relative;
    font-size: 3.2rem;
    color: #F07A1A;
}
.favirate::after{
    content: "";
    display: block;
    width: 70rem;height: 0.1rem;
    background-color: #bbb;
    position: absolute;
    left: 0;right: 0;margin: auto;
}
.favirate-items{
    background-color: white;
    padding-bottom: 7.5rem;
}
.favirate-items p{
    padding: 3rem 0 0;
    display: flex;
    justify-content: center;
}
.favirate-items p span{
    padding: 0.8rem 1.3rem;
    border: 1px solid #aaa;
    border-radius: 5rem;
    font-size: 2.4rem;
    margin: 0 0.8rem;
    color: #666;
}
.confirm{
    background-color: white;
    padding-bottom: 3rem;
    margin-bottom: 18rem;
    text-align: center;
}
.confirm .confirm-button{
    width: 20rem;height: 8rem;
    border-radius: 2rem;
    background-color: #EF9A49;
    color: white;
    font-size: 2.8rem;
}